package com.dunqi.gpm.shunqing.my.bean;

import com.dunqi.gpm.shunqing.common.base.Data3;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/25.
 */

public class User {

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    /**
     * userId : 1000
     * orgId : 1
     * accountType : null
     * userName : 系统管理员
     * loginAccount : admin
     * sex : 1
     * cellphone : 18512390330
     * telno : null
     * email : null
     * registerTime : 2017-11-11 00:00:00
     * lastLoginTime : null
     * lastLoginIpAddr : null
     * exField1 : null
     * exField2 : null
     * exField3 : null
     * status : 1
     * deviceId : null
     * appToken : null
     * tokenExpireDate : null
     * systemAdmin : 1
     * createrId : 1
     *
     */


    private String baseUrl;
    private String orgName;
    private int userId;
    private long orgId;
    private Object accountType;
    private String userName;
    private String loginAccount;
    private int sex;
    private String cellphone;
    private Object telno;
    private Object email;
    private String registerTime;
    private Object lastLoginTime;
    private Object lastLoginIpAddr;
    private Object exField1;
    private Object exField2;
    private Object exField3;
    private int status;
    private Object deviceId;
    private String appToken;
    private String tokenExpireDate;
    private int systemAdmin;
    private int createrId;

    Map<String,Data3> userRoles=new HashMap<>();

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Map<String, Data3> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(Map<String, Data3> userRoles) {
        this.userRoles = userRoles;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public long getOrgId() {
        return orgId;
    }

    public void setOrgId(int orgId) {
        this.orgId = orgId;
    }

    public Object getAccountType() {
        return accountType;
    }

    public void setAccountType(Object accountType) {
        this.accountType = accountType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public Object getTelno() {
        return telno;
    }

    public void setTelno(Object telno) {
        this.telno = telno;
    }

    public Object getEmail() {
        return email;
    }

    public void setEmail(Object email) {
        this.email = email;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public Object getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Object lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Object getLastLoginIpAddr() {
        return lastLoginIpAddr;
    }

    public void setLastLoginIpAddr(Object lastLoginIpAddr) {
        this.lastLoginIpAddr = lastLoginIpAddr;
    }

    public Object getExField1() {
        return exField1;
    }

    public void setExField1(Object exField1) {
        this.exField1 = exField1;
    }

    public Object getExField2() {
        return exField2;
    }

    public void setExField2(Object exField2) {
        this.exField2 = exField2;
    }

    public Object getExField3() {
        return exField3;
    }

    public void setExField3(Object exField3) {
        this.exField3 = exField3;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Object deviceId) {
        this.deviceId = deviceId;
    }

    public String getAppToken() {
        return appToken;
    }

    public void setAppToken(String appToken) {
        this.appToken = appToken;
    }

    public String getTokenExpireDate() {
        return tokenExpireDate;
    }

    public void setTokenExpireDate(String tokenExpireDate) {
        this.tokenExpireDate = tokenExpireDate;
    }

    public int getSystemAdmin() {
        return systemAdmin;
    }

    public void setSystemAdmin(int systemAdmin) {
        this.systemAdmin = systemAdmin;
    }

    public int getCreaterId() {
        return createrId;
    }

    public void setCreaterId(int createrId) {
        this.createrId = createrId;
    }
}
